CREATE TABLE [dbo].[UniformLicense]
(
[LicenseKey] [uniqueidentifier] NOT NULL,
[UniformKey] [uniqueidentifier] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[UniformLicense] ADD CONSTRAINT [PK_UniformLicense] PRIMARY KEY CLUSTERED ([LicenseKey], [UniformKey]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_UniformLicense_UniformKey_LicenseKey] ON [dbo].[UniformLicense] ([UniformKey], [LicenseKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[UniformLicense] ADD CONSTRAINT [FK_UniformLicense_License] FOREIGN KEY ([LicenseKey]) REFERENCES [dbo].[License] ([LicenseKey])
GO